package com.ljy.springcloud.service.impl;

import com.ljy.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return this.toString() + ".paymentInfo_OK😀";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return this.toString() + ".paymentInfo_TimeOut😭";
    }
}
